@inherits RenderViewPage
@using System.Web.Mvc.Html;
@using Umbraco.Cms.Web;
@using PBDesk.com.Extension.UmbHelper;
@{
	Layout = "_PBDeskLayout.cshtml";
	var Theme = MyHelper.GetTheme();
        string sRelatedContent = DynamicModel.SidebarCallout.ToString() ?? String.Empty;
}

@section head
{
 <script type="text/javascript">
     google.load("feeds", "1");
 </script>
 <script type="text/javascript" src="/scripts/feedviewer2.js"> </script>
}

@section TopBanner
{
@Html.Partial(Theme + "/Banners", new ViewDataDictionary { { "BannerType", "top" }, {"Columns", "pbdesklms,highlights,pbdeskblog"} })
}

@section BodyTop
{
@Umbraco.RenderMacro("breadCrumb")
}

@section BodyBottom
{
@Html.Partial("Gigya/ShareBar")
}

@section GrayBanner
{
@Html.Partial(Theme + "/Banners", new ViewDataDictionary { { "BannerType", "gray" }, {"Columns", "featuredarticles,featuredblogposts"} })
}

@section BottomBanner
{

}
<div id="art-content-wrapper" style="background:none">
	<div id="art-main-wrapper">
		<div id="artmain">
			<div id="contents">
				<div id="left">
					<h1 class="servicetitle">@DynamicModel.PageTitle</h1>
					<div id="portfolio">
						<br />
						@Html.Partial(Theme + "/TechNews/RssViewer", new ViewDataDictionary { { "feedUrl", @DynamicModel.FeedSourceUrl } })
						<br/>
					</div>
				</div>
			</div>
			<div class="clear"></div>
		</div>
	</div><!-- end art-main-wrapper -->
	<div id="art-sidebar-wrapper">
		<div id="artsidebar" class="artsidebar">
                   @Umbraco.RenderMacro("sidebarWidget", new { Title = "Related Links", Content = sRelatedContent  })
                   @Umbraco.RenderMacro("sidebarMoreTechNews")
                   @Umbraco.RenderMacro("sidebarMoreArticles")
			<div class="artwidget">
				<h2 class="art-sidebar-header">Related Links</h2>
				<div class="art-widget-content">
					<div>
						@Umbraco.Field("sidebarCallout", removeParagraphTags: true)
					</div>
				</div>
			</div>
			<div class="artwidget">
				<h2 class="art-sidebar-header">News Updates</h2>
				<div class="art-widget-content">
					<div>
						<a href="/technews/scitech/">Sci &amp; Tech</a>   <a href="/technews/csharp/">C#</a>   <a href="/technews/aspnet/">ASP.Net</a>   <a href="/technews/silverlight/">Silverlight</a>   <a href="/technews/vbnet/">VB.Net</a>   <a href="/technews/msnet/">Microsoft.Net</a>   <a href="/technews/umbraco/">Umbraco</a>   
					</div>
				</div>
			</div>
			<div class="artwidget">
				<h2 class="art-sidebar-header">More Articles</h2>
				<div class="art-widget-content">
					<div>
						<a href="/articles/csharp/">C#</a>   <a href="/articles/aspnet/">ASP.Net</a>   <a href="/articles/umbraco/">Umbraco</a>   <a href="/articles/general/">General</a>   <a href="/articles/toolsutils/">Tools &amp; Utils</a>   
					</div>
				</div>
			</div>
		</div><!-- end art-sidebar-->
	</div><!-- end art-sidebar-wrapper -->
	<div class="clear">&nbsp;</div>
</div>
